Lapo Calamandrei [Sat, 6 Sep 2014 15:09:08 +0000 (17:09 +0200)]
Adwaita: set color on flat buttons in selected list-rows
Lapo Calamandrei [Sat, 6 Sep 2014 15:02:20 +0000 (17:02 +0200)]
Adwaita: better switch on selected list-rows
Hiroyuki Ito [Sat, 6 Sep 2014 01:02:00 +0000 (01:02 +0000)]
Fix a crash in recent chooser DND
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=736173
Lapo Calamandrei [Sat, 6 Sep 2014 14:02:34 +0000 (16:02 +0200)]
Adwaita: really fix tooltips background
See https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
Changwoo Ryu [Sat, 6 Sep 2014 09:09:19 +0000 (18:09 +0900)]
Updated Korean translation
Matthias Clasen [Sat, 6 Sep 2014 01:21:49 +0000 (21:21 -0400)]
Fix various compiler warnings
Mostly missing declarations and missing statics.
Matthias Clasen [Sat, 6 Sep 2014 00:52:03 +0000 (20:52 -0400)]
inspector: Fix various compiler warnings
Mostly missing declarations and missing statics.
Matthias Clasen [Sat, 6 Sep 2014 00:44:22 +0000 (20:44 -0400)]
GdkFrameClockIdle: Add a missing declaration
Matthias Clasen [Sat, 6 Sep 2014 00:41:06 +0000 (20:41 -0400)]
Wayland: Fix various compiler warnings
Mostly missing declarations, missing statics and unused functions.
Matthias Clasen [Fri, 5 Sep 2014 23:39:05 +0000 (19:39 -0400)]
Broadway: Fix various compiler warnings
Mostly missing declarations and unused functions.
Christian Kirbach [Fri, 5 Sep 2014 23:02:03 +0000 (23:02 +0000)]
Updated German translation
Jasper St. Pierre [Fri, 5 Sep 2014 21:31:44 +0000 (14:31 -0700)]
wayland: Don't leak the tmp_keymap
This is a static variable, so setting it every time will leak the
previous one.
Jasper St. Pierre [Fri, 5 Sep 2014 22:04:21 +0000 (15:04 -0700)]
wayland: Correctly find the keyboard for the keymap
The list of devices was being scanned over incorrectly, causing us to
never actually fetch the keymap from the keyboard, as the keyboard was
the second device in the list, not the first.
This causes us to create a new temporary keymap every time, which is
quite expensive, because it involves parsing the entire XKB
file. Scanning the list correctly will cause us to use the XKB rules
file that was passed to us.
Matthias Clasen [Fri, 5 Sep 2014 18:57:04 +0000 (14:57 -0400)]
Adwaita: Avoid double backgrounds in tooltips
Matthias Clasen [Fri, 5 Sep 2014 17:43:17 +0000 (13:43 -0400)]
Make a warning more informative
Since we know what size was too large here, why not say it.
Matthias Clasen [Fri, 5 Sep 2014 17:15:14 +0000 (13:15 -0400)]
GtkIconTheme: Make suffix_from_name NULL-safe
This can happen sometimes with GFileIcons that are
not representable as a local path. Better not to crash
in this case.
Lapo Calamandrei [Fri, 5 Sep 2014 14:17:00 +0000 (16:17 +0200)]
Adwaita: tooltip fixes
The "too dark" background was caused by box-shadow inherited by
window-frame.csd, so box-shadow: none and the right background
color on tooltip selector.
Lapo Calamandrei [Fri, 5 Sep 2014 13:05:25 +0000 (15:05 +0200)]
Adwaita: tranlucent shadows inside entries
So evo background changing entry doesn't look broken.
Shankar Prasad [Fri, 5 Sep 2014 12:59:55 +0000 (12:59 +0000)]
Updated Kannada translation
Jesse van den Kieboom [Fri, 5 Sep 2014 11:38:30 +0000 (13:38 +0200)]
scrolling: interpret smooth deltas as pixels on quartz
This is a temporary workaround for scrolling units being amplified
on quartz, due to the assumption that smooth scrolling deltas are
always in some abstract unit similar to the one from xi2.
A proper solution for the situation is described in bug #736121, but
since we are close to release, this patch solves the issue temporarily.
https://bugzilla.gnome.org/show_bug.cgi?id=736121
Sweta Kothari [Fri, 5 Sep 2014 10:57:57 +0000 (16:27 +0530)]
Updated gujarati translations
Tom Tryfonidis [Fri, 5 Sep 2014 09:30:43 +0000 (09:30 +0000)]
Updated Greek translation
Alexander Larsson [Thu, 4 Sep 2014 19:58:20 +0000 (21:58 +0200)]
GdkWindow: Remove unused fields
clip_region_with_children and layered_region is not used any more,
remove them.
Yuri Myasoedov [Fri, 5 Sep 2014 07:37:04 +0000 (11:37 +0400)]
Updated Russian translation
Yuri Myasoedov [Fri, 5 Sep 2014 07:05:38 +0000 (11:05 +0400)]
Updated Russian translation
Claude Paroz [Fri, 5 Sep 2014 06:39:51 +0000 (08:39 +0200)]
Updated French translation (properties)
Claude Paroz [Thu, 4 Sep 2014 23:07:37 +0000 (23:07 +0000)]
Updated French translation
Cosimo Cecchi [Thu, 4 Sep 2014 22:07:54 +0000 (15:07 -0700)]
Adwaita: fix inline-toolbar backgrounds
This was lost in a recent cleanup.
Timm Bäder [Thu, 4 Sep 2014 13:29:56 +0000 (15:29 +0200)]
Fontchooserbutton: baseline-align icon and label
https://bugzilla.gnome.org/show_bug.cgi?id=736056
Yosef Or Boczko [Thu, 4 Sep 2014 20:42:43 +0000 (23:42 +0300)]
Updated Hebrew translation
Lapo Calamandrei [Thu, 4 Sep 2014 18:18:31 +0000 (20:18 +0200)]
widget-factory: remove margin from app-notification
Lapo Calamandrei [Thu, 4 Sep 2014 18:02:43 +0000 (20:02 +0200)]
Adwaita: more translucent tooltips
Lapo Calamandrei [Thu, 4 Sep 2014 17:41:47 +0000 (19:41 +0200)]
Adwaita: bottom edge hilight for selection mode buttons
Lapo Calamandrei [Thu, 4 Sep 2014 17:18:13 +0000 (19:18 +0200)]
Adwaita: in app-notification padding
Adwaita now adds the `right` padding to the app notification, so it
shouldn't be set in the code via margins or whatever.
Lapo Calamandrei [Thu, 4 Sep 2014 17:13:29 +0000 (19:13 +0200)]
Adwaita: flat colored buttons
Lapo Calamandrei [Thu, 4 Sep 2014 17:02:13 +0000 (19:02 +0200)]
Adwaita: don't color insensitive `colored` buttons.
Insensitive suggested or destructive action buttons make no sense,
so Adwaita doesn't color them.
Lapo Calamandrei [Thu, 4 Sep 2014 16:59:43 +0000 (18:59 +0200)]
Adwaita: set color on osd backdrop buttons
Carlos Garnacho [Thu, 4 Sep 2014 13:24:32 +0000 (15:24 +0200)]
entry: Handle touch events on entry icons
Those used to work indirectly due to GtkEntry not setting GDK_TOUCH_MASK,
so pointer emulation would happen on those, but the event handlers on icons
and its icon-pressed/released signals have never been explicitly touch
aware, and this broke since the GDK_TOUCH_MASK can be set indirectly by
GtkGestures.
So make the icon event handler handle touch events, each icon can get hold
of one GdkEventSequence, reacting exclusively to it. This is still not
ported to GtkGesture due to GdkEvent exposure in these icon signals, as
users might expect GDK_2/3BUTTON_PRESS while GtkGesture ignores those.
Also, unset all icon pressed/sequence state on grab-notify, this used to
happen ad-hoc when initiating icon DnD, but that doesn't cut it for
user-defined reasons to initiate a grab (eg. popovers).
https://bugzilla.gnome.org/show_bug.cgi?id=736004
Lapo Calamandrei [Thu, 4 Sep 2014 13:03:09 +0000 (15:03 +0200)]
Adwaita: big buttons surgey
- cover missing statusses in selection-mode and the like
- button drawing functions cleanup and extension
- remove inline toolbar (ugly) special case not needed anymore
- button selector structure simplification and rationalization
- add back shadow to window control buttons
Carlos Garnacho [Thu, 4 Sep 2014 11:55:39 +0000 (13:55 +0200)]
treeview: Run the row dragging gesture on the bubble phase
This is so signal handlers have an opportunity to undo its effect by
returning GDK_EVENT_STOP on ::button-press-event, just like they used
to do pre-gestures.
https://bugzilla.gnome.org/show_bug.cgi?id=735965
Carlos Garnacho [Thu, 4 Sep 2014 11:23:26 +0000 (13:23 +0200)]
dnd: Make the drag gesture obey the button mask specified
This was forgotten when making DnD use a GtkGesture in the handlers
attached to the widget in gtk_drag_source_set(). The gesture must obey
the specified button mask, and switch to denied state if the pressed
button isn't part of the given mask.
https://bugzilla.gnome.org/show_bug.cgi?id=735965
Daniel Mustieles [Thu, 4 Sep 2014 10:54:05 +0000 (12:54 +0200)]
Updated Spanish Translation
Andika Triwidada [Thu, 4 Sep 2014 09:47:53 +0000 (09:47 +0000)]
Updated Indonesian translation
Rico Tzschichholz [Thu, 4 Sep 2014 07:03:18 +0000 (09:03 +0200)]
build: Bump pango dependency to 1.36.7
Needed for PANGO_ANALYSIS_FLAG_IS_ELLIPSIS
Matthias Clasen [Thu, 4 Sep 2014 04:24:00 +0000 (00:24 -0400)]
Drop another unused script
The check engine abi script was never used in our build, and
with engines being on the way out, lets drop this.
Matthias Clasen [Thu, 4 Sep 2014 04:21:25 +0000 (00:21 -0400)]
Drop a few rules that aren't used anymore
These rules haven't been exercised in ages, time to drop them.
Matthias Clasen [Thu, 4 Sep 2014 04:17:30 +0000 (00:17 -0400)]
Fix cross references in docs in tarballs
This approach is copied from Pango.
Matthias Clasen [Thu, 4 Sep 2014 03:29:51 +0000 (23:29 -0400)]
GtkPlacesSidebar: Cancel async ops when finalized
This is the common practice for objects that start async operations.
https://bugzilla.gnome.org/show_bug.cgi?id=735953
Emmanuele Bassi [Wed, 3 Sep 2014 11:52:52 +0000 (12:52 +0100)]
places-sidebar: Use asynchronous API for querying bookmarks
Removes two FIXMEs, and ensures that the places sidebar does not block
while enumerating bookmarks or application shortcuts to remote volumes.
https://bugzilla.gnome.org/show_bug.cgi?id=735953
Matthias Clasen [Thu, 4 Sep 2014 03:29:04 +0000 (23:29 -0400)]
Stop using the deprecated GtkTreeView:rules-hint
This was still used in the file chooser and the font chooser.
Matthias Clasen [Thu, 4 Sep 2014 02:41:56 +0000 (22:41 -0400)]
notification tests: Skip GtkEntryCompletion::text-column
This one is special.
Matthias Clasen [Thu, 4 Sep 2014 02:44:31 +0000 (22:44 -0400)]
GtkEntryCompletion: Treat ::text-column specially
Using the setting for this property conflicts with the documentation
for gtk_entry_completion_set_text_column() which explicitly states
that setting the property directly behaves differently. Concretely,
this caused the file chooser entry completion popup to have two
columns (with identical content).
This partially reverts
331c28b369edae9aa3df2a24833ccb02ef8d7152.
Matthias Clasen [Thu, 4 Sep 2014 02:18:49 +0000 (22:18 -0400)]
GtkLabel: better treatment for selection with ellipsis
This commit arranges things so that we treat an ellipsized
region like a single character for the purpose of selection
and cursor navigation.
https://bugzilla.gnome.org/show_bug.cgi?id=328449
Matthias Clasen [Thu, 4 Sep 2014 01:39:34 +0000 (21:39 -0400)]
GtkLabel: Make it possible to get the ellipsis range
This will be used in the next commit to expand the selection.
Matthias Clasen [Thu, 4 Sep 2014 00:49:44 +0000 (20:49 -0400)]
GtkLabel: better treatment for ellipsized links
When links are entirely hidden in an ellipsis, don't let
them be activated by clicking and skip them when moving
the focus around.
This commit depends on enhancements in pango 1.36.7 which
make it possible to find the ellipsed runs in a PangoLayout.
With older pango, things will work the same way as before.
https://bugzilla.gnome.org/show_bug.cgi?id=668258
Lapo Calamandrei [Wed, 3 Sep 2014 22:51:10 +0000 (00:51 +0200)]
Adwaita: fix path-bar buttons padding
The padding there previously made the pathbar 1px taller then
buttons, not good in general and specifically not good for
Nautilus.
Cosimo Cecchi [Wed, 3 Sep 2014 21:45:51 +0000 (14:45 -0700)]
toolitem: set clip on allocation
So that widgets that are children of tool items can render their shadows
too.
Lapo Calamandrei [Wed, 3 Sep 2014 18:40:43 +0000 (20:40 +0200)]
Adwaita: more sass functions remixing
Lapo Calamandrei [Wed, 3 Sep 2014 17:41:50 +0000 (19:41 +0200)]
Adwaita: more usefull headerbar related functions
Lapo Calamandrei [Wed, 3 Sep 2014 15:01:43 +0000 (17:01 +0200)]
Adwaita: change `font-size: 82%` to `font-size: smaller`
Lapo Calamandrei [Wed, 3 Sep 2014 14:01:47 +0000 (16:01 +0200)]
Adwaita: .app-notification istead of .app-notification.frame
Andika Triwidada [Wed, 3 Sep 2014 13:45:59 +0000 (13:45 +0000)]
Updated Indonesian translation
Lapo Calamandrei [Wed, 3 Sep 2014 12:27:07 +0000 (14:27 +0200)]
Adwaita: change widget_edge() to _widget_edge()
For consistence with other "private" functions.
Lapo Calamandrei [Wed, 3 Sep 2014 12:22:10 +0000 (14:22 +0200)]
Adwaita: parametric bottom edge color for buttons
Lapo Calamandrei [Wed, 3 Sep 2014 11:18:39 +0000 (13:18 +0200)]
Adwaita: parametric bottom edge color for entries
The entry mixin now allows to specify the color of the widget bottom
edge hilight, istead then just enable/disable it, so `$noegde: true`
now is `$egde: none` or `$edge: $somecolor`, not setting it draws
the edge with the default theme color.
Daniel Mustieles [Wed, 3 Sep 2014 12:19:28 +0000 (14:19 +0200)]
Updated Spanish translation
Fran Diéguez [Wed, 3 Sep 2014 08:32:45 +0000 (10:32 +0200)]
Updated Galician translations
Nilamdyuti Goswami [Wed, 3 Sep 2014 08:15:37 +0000 (08:15 +0000)]
Updated Assamese translation
Fran Diéguez [Wed, 3 Sep 2014 08:07:31 +0000 (10:07 +0200)]
Updated Galician translations
Piotr Drąg [Wed, 3 Sep 2014 02:27:15 +0000 (04:27 +0200)]
Updated Polish translation
Matthias Clasen [Wed, 3 Sep 2014 02:25:29 +0000 (22:25 -0400)]
widget-factory: More variety in listbox content
Add rows with buttons and checkboxes to the listbox example
on page 2, and make the switch in row 1 toggle selection mode,
to test various cases of widgets in 'selected context'.
Lapo Calamandrei [Tue, 2 Sep 2014 21:32:50 +0000 (23:32 +0200)]
Adwaita: fix message dialog button linking logic
Lapo Calamandrei [Tue, 2 Sep 2014 21:28:21 +0000 (23:28 +0200)]
Adwaita: move %selected_items at the end of the file
To be able to use that all over the place avoiding duplication.
Lapo Calamandrei [Tue, 2 Sep 2014 19:25:53 +0000 (21:25 +0200)]
Adwaita: special case button in selected list rows
Buttons on blue bg needs to have no shadow and, for the light
variant, darker borders.
Lapo Calamandrei [Tue, 2 Sep 2014 18:39:25 +0000 (20:39 +0200)]
Adwaita: parametric headerbar_fill highlight
Lapo Calamandrei [Tue, 2 Sep 2014 18:35:28 +0000 (20:35 +0200)]
Adwaita: turn $widget_edge into a function
Jasper St. Pierre [Tue, 2 Sep 2014 18:24:34 +0000 (11:24 -0700)]
testgtk: Fix enabling of the cursor demo
Make this a lot less hacky.
Jasper St. Pierre [Tue, 2 Sep 2014 18:21:02 +0000 (11:21 -0700)]
gtkcssshadowvalue: Use cairo_surface_create_similar_image
Calling this on an Xlib surface allows us to keep this in SHM memory,
giving it a potential speedup so we don't have to copy it to SHM memory
for the Composite when we mask later.
Jasper St. Pierre [Tue, 2 Sep 2014 15:29:47 +0000 (08:29 -0700)]
gdkcairo: Add a missing flush
Noticed by ickle on IRC. We need to flush here to make sure that the
image data we fetch is up to date.
Alexander Larsson [Tue, 2 Sep 2014 14:22:12 +0000 (16:22 +0200)]
gdkwindow: Fix update area calculations for native subwindows
When recursing the update area down into native subwindows we forgot
to apply the native window position. This caused us to repaint the
wrong thing in certain cases. I noticed this when playing with the
wip/gdk-gl branch, because it was triggering unnecessary repaints
of the (native window) gl widgets.
Matthias Clasen [Tue, 2 Sep 2014 13:53:15 +0000 (09:53 -0400)]
testgtk: Make cursor demo work with wayland
We have the wayland apis to do this.
Matthias Clasen [Tue, 2 Sep 2014 13:50:08 +0000 (09:50 -0400)]
inspector: Add .ui.h files to git
Tools like damn-lies rely on being able to generate .pot files
from pristine checkouts, so everything that goes into the .pot
file has to be in git. This is not ideal, but we already do
the same for other .ui.h files in GTK+.
Matthias Clasen [Tue, 2 Sep 2014 13:48:58 +0000 (09:48 -0400)]
Keep .ui.h files out of BUILT_SOURCES AND MAINTAINERCLEANFILES
Otherwise, git.mk will add them to .gitignore, and we want to
add them to source control for the benefit of tools like damn-lies
which rely on being able to generate a .pot file from a pristine
checkout.,
Lapo Calamandrei [Tue, 2 Sep 2014 13:21:42 +0000 (15:21 +0200)]
Adwaita: make entry and headerbar gradients sass functions
Rafael Ferreira [Tue, 2 Sep 2014 06:24:30 +0000 (06:24 +0000)]
Updated Brazilian Portuguese translation
Matthias Clasen [Tue, 2 Sep 2014 00:52:46 +0000 (20:52 -0400)]
Bump version
Matthias Clasen [Mon, 1 Sep 2014 22:05:24 +0000 (18:05 -0400)]
3.13.8
Carlos Garnacho [Mon, 1 Sep 2014 18:20:49 +0000 (20:20 +0200)]
wayland: Unset window_impl->commit_pending when hiding the surface
A surface may be hidden when a frame is already scheduled, which may cause
crashes on on_frame_clock_after_paint() when calling commit() on a NULL
surface. To fix this, ensure commit_pending is also set to FALSE when the
surface is gone.
https://bugzilla.gnome.org/show_bug.cgi?id=735226
Andre Heinecke [Tue, 19 Aug 2014 15:55:47 +0000 (17:55 +0200)]
Use secrets service for cups auth_info
When a printer requires auth_info (e.g. a printer connected
over the samba protocol) it is now possible to save the
credentials necessary for printing if a secrets service
is available over dbus.
The auth_info is then stored / loaded from the default
collection of that secrets service.
If no such service is available the user is not shown
the option to remember the password and the behavior
remains the same as before.
https://bugzilla.gnome.org/show_bug.cgi?id=674264
Carlos Garnacho [Mon, 1 Sep 2014 17:11:02 +0000 (19:11 +0200)]
wayland: Store and use the current grab cursor, if any
Only static cursors are supported in gdk_device_grab() so far. Obey the
cursor that gdk_device_grab() specifies, which may be different to
the pointer window one. As soon as the grab is gone, the pointer window
cursor will be restored as usual.
https://bugzilla.gnome.org/show_bug.cgi?id=735831
Carlos Garnacho [Mon, 1 Sep 2014 16:53:00 +0000 (18:53 +0200)]
wayland: Keep the last cursor on leave, try to restore it on enter
On DnD, pointer_handle_leave may be triggered without the pointer actually
leaving the window, and pointer_handle_enter() happening after intra-window
DnD won't actually manage to update the cursor (it does nothing directly,
and to the upper layers the cursor is still the same and consistent, so no
attempt will happen).
To fix this, keep the pointer cursor on leave, and ensure it is updated
on enter. The pointer cursor will be updated to any current new one through
the enter/motion events generated if it needs be.
https://bugzilla.gnome.org/show_bug.cgi?id=735831
Carlos Garnacho [Mon, 1 Sep 2014 16:44:48 +0000 (18:44 +0200)]
wayland: Reference pixmap-based cursors' surface before handing the wl_buffer
cairo_surface_destroy() is called after the buffer is released, for every
wl_buffer. Windows usually reference their cairo surface before rendering,
so that extra reference is consumed after the buffer is released, so do
the same with cursor surfaces and add an extra reference whenever a cursor
surface change is about to be scheduled.
Otherwise, the GdkWaylandCursor is left with an invalid cairo_surface_t,
which causes crashes the next time it is used.
https://bugzilla.gnome.org/show_bug.cgi?id=735830
Piotr Drąg [Mon, 1 Sep 2014 18:06:19 +0000 (20:06 +0200)]
Updated POTFILES.in
Carlos Garnacho [Thu, 28 Aug 2014 12:44:44 +0000 (14:44 +0200)]
gtkdnd: Hardcode the DnD window onto the drag widget window on Wayland
This makes the drag widget use the same window surface that was passed
when starting the drag operation.
https://bugzilla.gnome.org/show_bug.cgi?id=697855
Carlos Garnacho [Thu, 28 Aug 2014 12:40:42 +0000 (14:40 +0200)]
window: Add private API to hardcode the main GdkWindow for a GtkWindow
This must be called while the window is not realized yet, and sets the
GdkWindow that will be used for the next GtkWindow's realize/unrealize
cycle. The GtkWindow takes ownership on the GdkWindow, and as such it
will be destroyed when the widget is unrealized.
https://bugzilla.gnome.org/show_bug.cgi?id=697855
Carlos Garnacho [Thu, 28 Aug 2014 12:12:51 +0000 (14:12 +0200)]
wayland: Add private API to retrieve the drag window for a drag context
On wayland the DnD surface must be created early when starting the drag
operation, so offer API for GTK+ to get the GdkWindow used as a DnD
surface on the drag operation.
https://bugzilla.gnome.org/show_bug.cgi?id=697855
Carlos Garnacho [Thu, 28 Aug 2014 12:10:00 +0000 (14:10 +0200)]
wayland: Return properly type hints from GdkWindows
This was hardcoded to GDK_WINDOW_TYPE_HINT_NORMAL, even though wayland
windows store the type hint themselves.
https://bugzilla.gnome.org/show_bug.cgi?id=697855
Carlos Garnacho [Fri, 22 Aug 2014 14:33:47 +0000 (16:33 +0200)]
wayland: Don't set an xdg surface to DnD windows
https://bugzilla.gnome.org/show_bug.cgi?id=697855
Carlos Garnacho [Thu, 21 Aug 2014 19:30:22 +0000 (21:30 +0200)]
wayland: Implement drag sources
The wl_data_source is retrieved from the selection object for the DnD
selection, and used to initiate a drag. When the drag is finished, a
button release or touch end event is synthesized to finish the DnD
operation after the compositor grab is gone.
https://bugzilla.gnome.org/show_bug.cgi?id=697855
Carlos Garnacho [Thu, 21 Aug 2014 18:20:37 +0000 (20:20 +0200)]
wayland: Implement the dropping part of DnD
All destination-side events are emitted, and updates to the drop context
are notified through the currently handled wl_data_offer.
https://bugzilla.gnome.org/show_bug.cgi?id=697855